function make_your_choose(){

    var choose1 = document.getElementById("choices");
    choose1.addEventListener('',choose_deal())
}



(function choose_deal() {
    var choose1 = document.getElementById("choices");
    var imageContainer = document.getElementById("imageContainer");

    // 清空图片容器
    imageContainer.innerHTML = "";

    if (choose1.value === 'yes') {
      // 如果选择了yes，渲染第一张图片
      var image1 = document.createElement("img");
      image1.src = "haha.png";
      imageContainer.appendChild(image1);
      console.log('haha');
    } else if (choose1.value === 'no') {
      // 如果选择了no，渲染第二张图片
      var image2 = document.createElement("img");
      image2.src = "giao1.webp";
      imageContainer.appendChild(image2);
      console.log('giao');
    }
  })();